package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.demo.domain.SysConfigExample;
import java.util.List;
import com.example.demo.mapper.SysConfigMapper;
import com.example.demo.domain.SysConfig;
import com.example.demo.service.SysConfigService;
@Service
public class SysConfigServiceImpl implements SysConfigService{

    @Resource
    private SysConfigMapper sysConfigMapper;

    @Override
    public long countByExample(SysConfigExample example) {
        return sysConfigMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysConfigExample example) {
        return sysConfigMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String code) {
        return sysConfigMapper.deleteByPrimaryKey(code);
    }

    @Override
    public int insert(SysConfig record) {
        return sysConfigMapper.insert(record);
    }

    @Override
    public int insertSelective(SysConfig record) {
        return sysConfigMapper.insertSelective(record);
    }

    @Override
    public List<SysConfig> selectByExample(SysConfigExample example) {
        return sysConfigMapper.selectByExample(example);
    }

    @Override
    public SysConfig selectByPrimaryKey(String code) {
        return sysConfigMapper.selectByPrimaryKey(code);
    }

    @Override
    public int updateByExampleSelective(SysConfig record,SysConfigExample example) {
        return sysConfigMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysConfig record,SysConfigExample example) {
        return sysConfigMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysConfig record) {
        return sysConfigMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysConfig record) {
        return sysConfigMapper.updateByPrimaryKey(record);
    }

}
